package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;
import org.apache.shiro.util.StringUtils;

@Setter@Getter
public class ProductQueryObject extends QueryObject {
   private String keyword;//关键字
   private Long firstId;//一级分类
   private Long secondId;//二级分类

   public String getKeyword(){
        return StringUtils.hasLength(keyword)?keyword:null;
    }
}
